#include <iostream>

#define STRING_LENGTH 100

int main()
{
    using namespace std;
    cout << "Please input a line (Enter to continue) :";
    char names[10][STRING_LENGTH];
    for (int i = 0; i < 10; i++)
    {
        cin.getline(names[i], STRING_LENGTH - 1);
        cout << names[i] << endl;
    }

    cout << "-------------------------------------" << endl;
    for (int i = 0; i < 10; i++)
    {
        cout << names[i] << endl;
    }

    return 0;
}